package net.helix.ui;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;

import javax.imageio.ImageIO;

public class UIImages {
	public static BufferedImage emptyKeyFrame;
	public static BufferedImage keyFrame;
	public static BufferedImage tweenKeyFrame;
	
	public static BufferedImage emptyFrame;
	public static BufferedImage frame;
	public static BufferedImage tweenFrame;
	
	public static BufferedImage timelineIcons1;
	public static BufferedImage timelineIcons2;
	public static BufferedImage timelineIcons3;
	public static BufferedImage timelineIcons4;
	public static BufferedImage timelineIcons5;
	
	public static BufferedImage popupGeneratorIcon;
	public static void Start(){
		try {
			emptyKeyFrame = ImageIO.read(new File("res/images/frames/frameKeyB.png"));
			keyFrame = ImageIO.read(new File("res/images/frames/frameKeyF.png"));
			tweenKeyFrame = ImageIO.read(new File("res/images/timeline/tweenKeyFrame.png"));
			
			emptyFrame = ImageIO.read(new File("res/images/frames/frameStaticB.png"));
			frame = ImageIO.read(new File("res/images/frames/frameStaticF.png"));
			tweenFrame = ImageIO.read(new File("res/images/timeline/tweenFrame.png"));
			
			timelineIcons1 = ImageIO.read(new File("res/images/timeline/TimelineIcons1.png"));
			timelineIcons2 = ImageIO.read(new File("res/images/timeline/TimelineIcons2.png"));
			timelineIcons3 = ImageIO.read(new File("res/images/timeline/TimelineIcons3.png"));
			timelineIcons4 = ImageIO.read(new File("res/images/timeline/TimelineIcons4.png"));
			timelineIcons5 = ImageIO.read(new File("res/images/timeline/TimelineIcons5.png"));
			
			popupGeneratorIcon = ImageIO.read(new File("res/images/timeline/HelixIcons8.png"));
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
